import {BASE_URL,getByid,add as addUser} from './modules/db'
import abc from './modules/news'
import {CompanyDb} from './modules/company'
import {UserDb} from './modules/user'
import {A,B} from './modules/animal'



console.log("BASE_URL",BASE_URL);


getByid("20000");

addUser();


abc.addNews();
abc.getByid("9999");

//
console.log("-----------命名空间----------");


CompanyDb.del("8888888888888");
UserDb.del("9999999999999");


 let xh= new  A.Animal("小黑",2);
 let xb= new  B.Animal("小白",2);

 xh.eat();
 xb.eat();

 
 